package com.lagou.pojo;

import com.lagou.enums.SqlCommandTypeEnum;

/**
 * @author: lcz
 * @date: Created in 13:47 2020/9/25
 * @description:
 */
public class MappedStatement {
    //id
    private String id;
    //sql语句
    private String sql;
    //返回结果
    private Class<?> resultType;
    //参数
    private Class<?> parameterType;
    //sql语句类型
    private SqlCommandTypeEnum sqlCommandType;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public Class<?> getResultType() {
        return resultType;
    }

    public void setResultType(Class<?> resultType) {
        this.resultType = resultType;
    }

    public Class<?> getParameterType() {
        return parameterType;
    }

    public void setParameterType(Class<?> parameterType) {
        this.parameterType = parameterType;
    }

    public SqlCommandTypeEnum getSqlCommandType() {
        return sqlCommandType;
    }

    public void setSqlCommandType(SqlCommandTypeEnum sqlCommandType) {
        this.sqlCommandType = sqlCommandType;
    }
}
